package com.epam.strings.entities;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Yelena_M
 * Date: 06.08.13
 * Time: 13:28
 * To change this template use File | Settings | File Templates.
 */
public class Word extends Lexeme {

    List<Symbol> words;

    public Word() {

    }

    public Word(List<Symbol> words) {
        this.words = words;
    }

    public List<Symbol> getWords() {
        return words;
    }

    public void setWords(List<Symbol> words) {
        this.words = words;
    }

    @Override
    public String toString() {
        return "Word{" +
                "words=" + words +
                '}';
    }
}

